package com.yyx.up.producer.bean;

import com.yyx.up.common.bean.Data;

/**
 * Description: 电影
 * @Author: yyx
 * @Create: 2023/5/10 0:04
 * @Version: 8
 */
public class Film extends Data {
    private String film;
    private String film_type;

    public String getFilm() {
        return film;
    }

    public void setFilm(String film) {
        this.film = film;
    }

    public String getFilm_type() {
        return film_type;
    }

    public void setFilm_type(String film_type) {
        this.film_type = film_type;
    }

    public void setValue(Object val) {
        content = (String) val;
        String[] values = content.split("\t");
        setFilm(values[0]);
        setFilm_type(values[1]);
    }

    public String toString(){
        return "Film[" + film + "," + film_type + "]";
    }
}
